#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os

__FILEABSDIRNAME__ = os.path.dirname(os.path.abspath(__file__))

ini_files = (
    os.path.join("/etc", "agent520.ini"),
    os.path.join("/etc", "agent520-custom.ini"),
    os.path.join("/etc", "agent520-token.ini"),
    os.path.join(os.path.dirname(__FILEABSDIRNAME__), "agent520.ini"),
    os.path.join(os.path.dirname(__FILEABSDIRNAME__), "agent520-custom.ini"),
    os.path.join(os.path.dirname(__FILEABSDIRNAME__), "agent520-token.ini"),
    os.path.abspath("agent520.ini"),
    os.path.abspath("agent520-custom.ini"),
    os.path.abspath("agent520-token.ini"),
)

if os.name == "nt":
    ini_files = (
        os.path.join(__FILEABSDIRNAME__, "..", "config", "agent520.ini"),
        os.path.join(__FILEABSDIRNAME__, "..", "config", "agent520-custom.ini"),
        os.path.join(__FILEABSDIRNAME__, "..", "config", "agent520-token.ini"),
    )
